package com.tedu.lianxi2.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
public class JsonResult {
    private Integer statusCode;
    private String message;
    private Object data;

    public JsonResult(Status status){
        this.statusCode=status.getStatus();
        this.message=status.getMessage();
    }
}
